package org.sws.domain.strategy.service;

import org.sws.domain.strategy.model.valobj.StrategyAwardStockKeyVO;

/**
 * @Author sws
 * @Date 2025/3/10 10:25
 * @description: 抽奖库存相关接口
 */
public interface IRaffleStock {
    /**
     * 更新奖品库存消耗记录
     *
     * @param strategyId 策略ID
     * @param awardId    奖品ID
     */
    void updateStrategyAwardStock(Long strategyId, Integer awardId);

    /**
     * 获取奖品的库存消耗队列
     * @param strategyId 策略ID
     * @param awardId 奖品ID
     */
    StrategyAwardStockKeyVO takeQueueValue(Long strategyId, Integer awardId);

}
